var img10 = document.getElementById("img10");
var xPos10 = 20;
var yPos10 = document.body.clientHeight;
var step10 = 1;
var delay10 = 30;                     
var height10 = 0;                     
var Hoffset10 = 0;                    
var Woffset10 = 0;                     
var yon10 = 0;                    
var xon10 = 0;                     
var pause10 = true;                    
var interval10;                    
img10.style.top = parseInt(yPos10) + "px";

function getSize10(){

}

function changePos10() { 
width10 = 0;
height10 = 0;
if( typeof( window.innerWidth ) == 'number' ) {
	//Non-IE
	width10 = window.innerWidth;
	height10 = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
	//IE 6+ in 'standards compliant mode'
	width10 = document.documentElement.clientWidth;
	height10 = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
	//IE 4 compatible
	width10 = document.body.clientWidth;
	height10 = document.body.clientHeight;
}


Hoffset10 = img10.offsetHeight;                    
Woffset10 = img10.offsetWidth;                   
img10.style.left = parseInt(xPos10) + parseInt(document.documentElement.scrollLeft) + "px";                    
img10.style.top = parseInt(yPos10) + parseInt(document.documentElement.scrollTop) + "px";                    
if (yon10) {                  
yPos10 = yPos10 + step10;                    
}               
else {             
yPos10 = yPos10 - step10;                    
}            
if (yPos10 < 0) {                  
yon10 = 1;                    
yPos10 = 0;                    
}                  
if (yPos10 >= (height10 - Hoffset10)) {                    
yon10 = 0;                    
yPos10 = (height10 - Hoffset10);                     
}                  
if (xon10) {                    
xPos10 = xPos10 + step10;                    
}                 
else {                 
xPos10 = xPos10 - step10;                   
}                  
if (xPos10 < 0) {                    
xon10 = 1;                   
xPos10 = 0;                   
}         
if (xPos10 >= (width10 - Woffset10)) {                    
xon10 = 0;           
xPos10 = (width10 - Woffset10);                    
}                    
}
function start10() {                    
img10.style.visibility = "visible";                  
interval10 = setInterval('changePos10()', delay10);                    
}              
start10();  
